home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
bin
/
libast-config
< prev
next >
Wrap
Text File
|
2005-10-18
|
1KB
|
48 lines
#!/bin/sh
#
# libast-config -- libast configuration helper script
#
# 29 October 2000
# Michael Jennings <mej@eterm.org>
#
# See libast source/documentation for license
#
prefix=/usr
exec_prefix=${prefix}
CPPFLAGS="-I/usr/include "
LDFLAGS="-L/usr/lib "
LIBS="-L/usr/lib -lImlib2 -lfreetype -lz -lX11 -lXext -ldl -lm -lSM -lICE "
X11_SUPPORT=X11
IMLIB2_SUPPORT=
MMX_SUPPORT=MMX
REGEXP_SUPPORT=regexp-posix
VERSION=0.6.1
case $1 in
-h | --help | -help)
echo "Usage: libast-config [--version] [--prefix] [--exec-prefix] [--cppflags] [--ldflags] [--libs] [--support]"
;;
-v | --version | -version)
echo "Libary of Assorted Spiffy Things: libast $VERSION"
;;
-p | --prefix | -prefix)
echo "$prefix"
;;
-e | --exec-prefix | -exec-prefix)
echo "$exec_prefix"
;;
-c | --cppflags | -cppflags | --cflags | -cflags)
echo "$CPPFLAGS"
;;
-l | --ldflags | -ldflags)
echo "$LDFLAGS"
;;
-L | --libs | -libs)
echo "$LIBS"
;;
-s | --support | -support)
echo "$MMX_SUPPORT $X11_SUPPORT $IMLIB2_SUPPORT"
;;
esac